package com.datian.entity;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class UserProduct implements Serializable {
	
	private int id;
	
	private String productName;
	
	private Member user;
	
	private String image;
	
	private String image_s;
	
	private String description;
	
	private Date time;
	private int state;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}


	public Member getUser() {
		return user;
	}

	public void setUser(Member user) {
		System.out.println(user);
		this.user = user;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getImage_s() {
		return image_s;
	}

	public void setImage_s(String image_s) {
		this.image_s = image_s;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}
	
}
